namespace Mbl.ParameterizedTest.FluentCollectionBuilding.Expectors.ObjectExpectations
{
    public class NullExpectation<T> : PredicateExpectation<T>        
    {
        public NullExpectation()
            : base(actual => Equals(actual, null))
        {            
        }

        protected override string GetErrorMessage(T actual)
        {
            return $"Expected null, but got <{actual}>.";
        }        
    }
}